package com.yantong.pojo;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 业绩
 * @author kanghaixin
 */
public class Achieve {
    /**
     * 业绩ID
     */
    private Long id;
    /**
     * 门店ID
     */
    private Long mid;
    /**
     * 上级门店ID
     */
    private Long pmid;
    /**
     * 订单总量
     */
    private Integer orderTotal;
    /**
     * 业绩总量
     */
    private BigDecimal achieve;
    /**
     * 佣金总量
     */
    private BigDecimal commission;
    /**
     * 创建时间
     */
    private Date createTime;
    /**
     * 月份 2018-09
     */
    private String month;
    /**
     * 备注
     */
    private String remark;
    /**
     * 商户ID
     */
    private Long centreId;

    public Long getCentreId() {
        return centreId;
    }

    public void setCentreId(Long centreId) {
        this.centreId = centreId;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getMid() {
        return mid;
    }

    public void setMid(Long mid) {
        this.mid = mid;
    }

    public Long getPmid() {
        return pmid;
    }

    public void setPmid(Long pmid) {
        this.pmid = pmid;
    }

    public Integer getOrderTotal() {
        return orderTotal;
    }

    public void setOrderTotal(Integer orderTotal) {
        this.orderTotal = orderTotal;
    }

    public BigDecimal getAchieve() {
        return achieve;
    }

    public void setAchieve(BigDecimal achieve) {
        this.achieve = achieve;
    }

    public BigDecimal getCommission() {
        return commission;
    }

    public void setCommission(BigDecimal commission) {
        this.commission = commission;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getMonth() {
        return month;
    }

    public void setMonth(String month) {
        this.month = month == null ? null : month.trim();
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }
}